aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/groups/[groupId]/save-recent-group.tsx
diff options
context:
space:
mode:
authorSebastien Castiel <sebastien@castiel.me>2023-12-07 11:11:53 -0500
committerSebastien Castiel <sebastien@castiel.me>2023-12-07 11:11:53 -0500
commit6611e3a187e5398f686449938b7cf1ddbfcb5392 (patch)
tree0fae44f29faf8efa68bcdb113ae1ca003cbd024b /src/app/groups/[groupId]/save-recent-group.tsx
parentec981fd237a50dfc547d8c162b22f4e1a691c9fc (diff)
Store amounts as cents
Diffstat (limited to 'src/app/groups/[groupId]/save-recent-group.tsx')
-rw-r--r--src/app/groups/[groupId]/save-recent-group.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/groups/[groupId]/save-recent-group.tsx b/src/app/groups/[groupId]/save-recent-group.tsx
index e55d7c8..084681a 100644
--- a/src/app/groups/[groupId]/save-recent-group.tsx
+++ b/src/app/groups/[groupId]/save-recent-group.tsx
@@ -12,7 +12,7 @@ type Props = {
export function SaveGroupLocally({ group }: Props) {
useEffect(() => {
saveRecentGroup(group)
- }, [])
+ }, [group])
return null
}